package business;

import domain.impl.AbstractBusinessObject;
import vo.ValueObject;

import java.util.List;

/**
 * Created by Sur Soluciones TI
 * Date: 30/03/11
 */
public interface BusinessFacade <B extends AbstractBusinessObject, V extends ValueObject> {

        public void create(B b);

        public void update(B b);

        public void remove(B v);

        public void remove(Long id);

        public void removeAll();

        public B findById(Long id);

        public List<B> findAll();


}